<?php
$mu = Session::get('mu');
$copyright = new Model('user_agency_copyright');
$copyright->find(['pid'=>$mu->id]);
if($copyright->try_post()){
	$copyright->pid = $mu->id;
	$copyright->save();	
	tusi('设置成功');
}